package com.aptech.model;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * Userprofile entity. @author MyEclipse Persistence Tools
 */

public class Userprofile implements java.io.Serializable {

	// Fields

	private Long id;
	private String username;
	private String password;
	private String age;
	private String sex;
	private String phone;
	private String address;
	private String lv;
	private Set emailsForTouserid = new HashSet(0);
	private Set emailsForFromuserid = new HashSet(0);
	private Set rests = new HashSet(0);

	// Constructors

	/** default constructor */
	public Userprofile() {
	}

	/** minimal constructor */
	public Userprofile(String username, String password, String age,
			String sex, String phone, String address, String lv) {
		this.username = username;
		this.password = password;
		this.age = age;
		this.sex = sex;
		this.phone = phone;
		this.address = address;
		this.lv = lv;
	}

	/** full constructor */
	public Userprofile(String username, String password, String age,
			String sex, String phone, String address, String lv,
			Set emailsForTouserid, Set emailsForFromuserid, Set rests) {
		this.username = username;
		this.password = password;
		this.age = age;
		this.sex = sex;
		this.phone = phone;
		this.address = address;
		this.lv = lv;
		this.emailsForTouserid = emailsForTouserid;
		this.emailsForFromuserid = emailsForFromuserid;
		this.rests = rests;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAge() {
		return this.age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLv() {
		return this.lv;
	}

	public void setLv(String lv) {
		this.lv = lv;
	}

	public Set getEmailsForTouserid() {
		return this.emailsForTouserid;
	}

	public void setEmailsForTouserid(Set emailsForTouserid) {
		this.emailsForTouserid = emailsForTouserid;
	}

	public Set getEmailsForFromuserid() {
		return this.emailsForFromuserid;
	}

	public void setEmailsForFromuserid(Set emailsForFromuserid) {
		this.emailsForFromuserid = emailsForFromuserid;
	}

	public Set getRests() {
		return this.rests;
	}

	public void setRests(Set rests) {
		this.rests = rests;
	}

}